package com.lyz.moil.common;

import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: xi
 * Date: 13-11-20
 * Time: 上午10:57
 * To change this template use File | Settings | File Templates.
 */
public class ResponseData {

    private String id;
    private String path;
    private String type;
    private int status;
    private int apiVersion;
    private String errMsg; //errMs在body中返回

    private Map<String, Object> header;
    private Object body;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getApiVersion() {
        return apiVersion;
    }

    public void setApiVersion(int apiVersion) {
        this.apiVersion = apiVersion;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Map<String, Object> getHeader() {
        return header;
    }

    public void setHeader(Map<String, Object> header) {
        this.header = header;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }
}
